export default function () { // 1 series
    return {
        Option: {
            tooltip: {
                show: true,
                formatter: '{b} :{c}%'
            },
            grid: {
                left: '25%',
                top: '20%',
                bottom: '25%',
                right: '10%'
            },
            xAxis: [{
                max: 100,
                type: 'value',
                axisTick: {
                    show: false
                },
                axisLine: {
                    show: false
                },
                axisLabel: {
                    show: false
                },
                splitLine: {
                    show: false
                }
            }],
            yAxis: [{
                type: 'category',
                data: ['回款金额', '签约金额'],
                axisTick: {
                    show: false
                },
                axisLine: {
                    show: false
                }
            }],
            series: [{
                name: ' ',
                type: 'bar',
                barWidth: 16,
                silent: true,
                itemStyle: {
                    normal: {
                        color: 'white'
                    }
                },
                barGap: '-100%',
                barCategoryGap: '50%',
                data: ['80亿', '60亿'].map(function(d) {
                    return 100
                })
            }, {
                name: ' ',
                type: 'bar',
                barWidth: 16,
                label: {
                    normal: {
                        show: true,
                        position: 'right',
                        formatter: '{c}亿'
                    }
                },
                data: [{
                    value: 60,
                    itemStyle: {
                        normal: {
                            color: '#51a7fa'
                        }
                    }
                }, {
                    value: 80,
                    itemStyle: {
                        normal: {
                            color: '#f39019'
                        }
                    }
                }]
            }]
        }
    }
}
